package android.slc.lib_server;

import android.slc.db.sp.DbCd;

public class ServerConfig {
    private static class Holder {
        private static final ServerConfig INSTANCE = new ServerConfig();
    }

    public static ServerConfig getInstance() {
        return Holder.INSTANCE;
    }

    private final DbCd db;

    private ServerConfig() {
        db = new DbCd("amsdk_server_config");
    }


    public static void setStartAppPackage(String packageName) {
        getInstance().db.putValue("startAppPackageName", packageName);
    }

    public static String getStartAppPackage() {
        return getInstance().db.getString("startAppPackageName");
    }
}
